package com.thon.entity.system;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.thon.entity.util.IdEntity;

@Entity
@Table(name = "dic")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Dic extends IdEntity {
	
	private static final long serialVersionUID = -2882541081318874188L;
	private String dicCode;
	private String name;
	private String description;
	
	@Column(name="dic_code",unique = true, nullable = false)
	public String getDicCode() {
		return dicCode;
	}
	public void setDicCode(String dicCode) {
		this.dicCode = dicCode;
	}
	@Column(unique = true, nullable = false)
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	
	
}
